package com.lzw.bluetoothpractice.Activitys;

import android.os.Bundle;

import androidx.appcompat.app.AppCompatActivity;

import android.view.View;
import android.widget.Button;

import com.lzw.bluetoothpractice.R;

public class MedicalMessage extends AppCompatActivity implements View.OnClickListener{
    Button medical_message_back;
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_medical_message);
        init();
        medical_message_back.setOnClickListener(this);
    }
    //初始化
    private void init() {
        medical_message_back = (Button)this.findViewById(R.id.medical_message_back);
    }
    @Override
    public void onClick(View view) {
        switch(view.getId()){
            case R.id.medical_message_back:
                onBackPressed();
                finish();
                break;
        }
    }
}
